factorial: main.o factorial.o
	gcc -o factorial main.o factorial.o
main.o: main.c
	gcc -c main.c
factorial.o: factorial.c
	gcc -c factorial.c
clean:
	rm -f *.o
